<section class="add-record">
	<?php $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
		'id'=>'horizontalForm',
		'type'=>'horizontal',
	));?>
 
    <fieldset>
        <legend>
            <?php echo Yii::t('app', 'Add new record') ?>
            <a class="btn-back pull-right" href="<?php echo $this->createUrl('transporter/index')?>">← <?php echo Yii::t('app', 'Back to List') ?></a>
        </legend>
        <?php //echo $form->dropDownListRow($model, 'id_transporter', $listComTran, array('empty' => Yii::t('app', 'Please select company')))?>
        <?php echo $form->textFieldRow($model, 'company_name'); ?>
        <?php echo $form->textFieldRow($model, 'name'); ?>
        <?php echo $form->textFieldRow($model, 'email'); ?>
        <?php echo $form->textFieldRow($model, 'mobile'); ?>
        <?php echo $form->textFieldRow($model, 'phone'); ?>
        <?php echo $form->textAreaRow($model, 'info_transporter', array('rows' => 8, 'class' => 'span5')); ?>

	</fieldset>
	<div class="form-actions">
		 <?php 
		 	$this->widget('bootstrap.widgets.TbButton', array(
	 			'buttonType' => 'submit',
	 			'type' => 'primary',
	 			'label' => Yii::t('app', 'Submit'),
	 			'icon' => 'plus-sign white'
		 	)); 
		 ?>
    </div>
	<?php $this->endWidget();?>
</section>